<div class="contentArea">
    <div class="Item hr">
        <div class="current">章节详情</div>
    </div>
    <form>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
            <tr>
                <th width="80">章节名称：</th>
                <td><input name="data[title]" type="text" class="input" size="30" value="{$chapter['title']}" /></td>
            </tr>
            <tr>
                <th width="80">章节简介：</th>
                <td><textarea class="jq_watermark" rows = "35" cols="68" name="data[content]">{$chapter['content']}</textarea></td>
            </tr>
            <tr>
                <th width="80">字数：</th>
                <td><input name="data[words_number]" type="text" class="input" size="30" value="{$chapter['words_number']}" /></td>
            </tr>

            <input type="hidden" name="data[id]" value="{$chapter['id']}" />
            <input type="hidden" name="data[novel_id]" value="{$chapter['novel_id']}" />
        </table>
    </form>
    <div class="commonBtnArea" >
        <button class="btn submit">提交</button>
    </div>

</div>
<script type="text/javascript">
    $(".submit").click(function(){
        commonAjaxSubmit("{:U('Novel/chapter_update')}");
    });
</script>

